/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.goods.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;

/**
 * 测试数据Entity
 * 
 * @author ThinkGem
 * @version 2018-04-22
 */
@Table(name = "zt_card", alias = "a", columns = {
		@Column(name = "id", attrName = "id", label = "编号", isPK = true),
		@Column(name = "name", attrName = "name", label = "地址"),
		@Column(name = "img", attrName = "img", label = "内容"),
		@Column(name = "price", attrName = "price", label = "内容"),
		
		@Column(name = "copper_one_price_card", attrName = "copperOnePriceCard", label = "内容"),
		@Column(name = "copper_two_price_card", attrName = "copperTwoPriceCard", label = "内容"),
		@Column(name = "silver_one_price_card", attrName = "silverOnePriceCard", label = "内容"),
		@Column(name = "silver_two_price_card", attrName = "silverTwoPriceCard", label = "内容"),
		@Column(name = "gold_one_price_card", attrName = "goldOnePriceCard", label = "内容"),
		@Column(name = "gold_two_price_card", attrName = "goldTwoPriceCard", label = "内容"),
		@Column(name = "imgname", attrName = "imgname", label = "内容"),
		@Column(name = "monthnum", attrName = "monthnum", label = "内容"),
		@Column(name = "status", attrName = "status", label = "状态"),
		
		@Column(name = "create_date", attrName = "createDate", label = "创建时间"),

}, orderBy = "a.create_date DESC")
public class ZtCard extends DataEntity<ZtCard> {

	private static final long serialVersionUID = 1L;
	
	private String status;
	private String name;
	private Double price;
	private String monthnum;
	private String img;
	
	private Double copperOnePriceCard;//会员卡一级-----铜
	private Double copperTwoPriceCard;//会员卡二级-----铜
	private Double silverOnePriceCard;//一级(普通)-----银
	private Double silverTwoPriceCard;//二级(普通)-----银
	private Double goldOnePriceCard;//一级(普通)------金
	private Double goldTwoPriceCard;//一级(普通)------金
	private String imgname;
	@JsonIgnore
	private Date createDate;
	@JsonIgnore
	private String updateBy;
	@JsonIgnore
	private String createBy;
	@JsonIgnore
	private Date updateDate;
	
	public String getImgname() {
		return imgname;
	}
	public void setImgname(String imgname) {
		this.imgname = imgname;
	}
	public Double getCopperOnePriceCard() {
		return copperOnePriceCard;
	}
	public void setCopperOnePriceCard(Double copperOnePriceCard) {
		this.copperOnePriceCard = copperOnePriceCard;
	}
	public Double getCopperTwoPriceCard() {
		return copperTwoPriceCard;
	}
	public void setCopperTwoPriceCard(Double copperTwoPriceCard) {
		this.copperTwoPriceCard = copperTwoPriceCard;
	}
	public Double getSilverOnePriceCard() {
		return silverOnePriceCard;
	}
	public void setSilverOnePriceCard(Double silverOnePriceCard) {
		this.silverOnePriceCard = silverOnePriceCard;
	}
	public Double getSilverTwoPriceCard() {
		return silverTwoPriceCard;
	}
	public void setSilverTwoPriceCard(Double silverTwoPriceCard) {
		this.silverTwoPriceCard = silverTwoPriceCard;
	}
	public Double getGoldOnePriceCard() {
		return goldOnePriceCard;
	}
	public void setGoldOnePriceCard(Double goldOnePriceCard) {
		this.goldOnePriceCard = goldOnePriceCard;
	}
	public Double getGoldTwoPriceCard() {
		return goldTwoPriceCard;
	}
	public void setGoldTwoPriceCard(Double goldTwoPriceCard) {
		this.goldTwoPriceCard = goldTwoPriceCard;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public String getMonthnum() {
		return monthnum;
	}
	public void setMonthnum(String monthnum) {
		this.monthnum = monthnum;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	@JsonIgnore
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	

}